package com.elecbook.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elecbook.base.dto.PageDTO;
import com.elecbook.content.model.dto.CommentJudgeSubmitDTO;
import com.elecbook.content.model.dto.CommentjudgePQuery;
import com.elecbook.content.model.dto.CommnetJudgePageDTO;
import com.elecbook.content.model.po.Commentjudge;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author Z-ken
 * @since 2024/11/05 15:50:50
 */
public interface CommentjudgeService extends IService<Commentjudge> {


    /**
     * description 提交审核结果
     *
     * @author zken
     * @CreateDate 2024/11/5 17:34:06
     */
    Commentjudge submitJudge(CommentJudgeSubmitDTO dto);

    /**
     * description 进行分页查询需要审核的项目
     *
     * @author zken
     * @CreateDate 2024/11/5 17:34:15
     */
    PageDTO<Commentjudge> queryCommentJudgePage(CommnetJudgePageDTO pageDTO);

    //Service新增方法
    PageDTO<Commentjudge> pageQuery(CommentjudgePQuery query);
    Commentjudge saveCommentjudge(Commentjudge commentjudge);
    Commentjudge updateCommentjudgeById(Commentjudge commentjudge);
}
